package com.lfy.modules.disk.domain.dto;

import com.lfy.modules.common.anno.NoNeedLogin;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class CreateFolderDTO {
    @NotBlank(message = "文件夹名称不能为空")
    @Length(max = 50, message = "文件夹名称长度不能超过20")
    private String folderName;
    @NotNull
    private Long parentId;
    @NotNull
    private Integer isPrivate;
}
